package com.ufind.server.application;

import com.ufind.server.core.domain.User;

/**
 * Created by xuliugen.Liu on 15/11/10.
 */
public interface UserApplication {

    /**
     * 根据用户名进行获取用户
     * @param userAccount
     * @return
     */
    User getByUserAccount(String userAccount);

    /**
     * 插入用户
     * @param user
     * @return
     */
    Long insertUser(User user);

}
